package com.xilihui.xlh.business.entities;

import com.google.gson.annotations.SerializedName;
import com.xilihui.xlh.core.app.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/7/10.
 */

public class AccountEntity extends BaseEntity{


    /**
     * data : [{"id":"2","money":"-3","deduct_money":"4.00","user_id":"2628","status":"1","type":"1","add_time":"2018-06-28 11:37","delete_time":"0","sa_id":"1","extract_time":"1530496766","remark":"大是大非111","project":"拉直"}]
     * pageCount : 1
     * sta : [{"name":"全部","type":"10086"},{"name":"到账服务佣金","type":"1"},{"name":"在途服务佣金","type":"0"}]
     */

    private int pageCount;
    private List<DataBean> data;
    private List<StaBean> sta;

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public List<StaBean> getSta() {
        return sta;
    }

    public void setSta(List<StaBean> sta) {
        this.sta = sta;
    }

    public static class DataBean implements Serializable{
        /**
         * id : 2
         * money : -3
         * deduct_money : 4.00
         * user_id : 2628
         * status : 1
         * type : 1
         * add_time : 2018-06-28 11:37
         * delete_time : 0
         * sa_id : 1
         * extract_time : 1530496766
         * remark : 大是大非111
         * project : 拉直
         */

        private String id;
        private String money;
        private String deduct_money;
        private String user_id;
        @SerializedName("status")
        private String statusX;
        private String type;
        private String add_time;
        private String delete_time;
        private String sa_id;
        private String extract_time;
        private String remark;
        private String project;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getDeduct_money() {
            return deduct_money;
        }

        public void setDeduct_money(String deduct_money) {
            this.deduct_money = deduct_money;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getStatusX() {
            return statusX;
        }

        public void setStatusX(String statusX) {
            this.statusX = statusX;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public String getDelete_time() {
            return delete_time;
        }

        public void setDelete_time(String delete_time) {
            this.delete_time = delete_time;
        }

        public String getSa_id() {
            return sa_id;
        }

        public void setSa_id(String sa_id) {
            this.sa_id = sa_id;
        }

        public String getExtract_time() {
            return extract_time;
        }

        public void setExtract_time(String extract_time) {
            this.extract_time = extract_time;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getProject() {
            return project;
        }

        public void setProject(String project) {
            this.project = project;
        }
    }

    public static class StaBean implements Serializable{
        /**
         * name : 全部
         * type : 10086
         */

        private String name;
        private String type;
        private boolean isSelect = false;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
    }
}
